/*
7. Write an expression that checks if given positive integer number n (n ≤ 100) is prime. E.g. 37 is prime.
*/
using System;

class zadachaSedma
{
    static void Main()
    {
        Console.Write("Enter an integer: ");
        double checkedNumber = double.Parse(Console.ReadLine());
		bool isPrime = true;
        for (int i = 2; i < checkedNumber; i++)
		{
			if((checkedNumber % i) == 0) 
			{
				isPrime = false;
				break;
			}
		}
        Console.WriteLine("The number {0} is prime: {1}", checkedNumber,isPrime);
    }
}
